package org.om.service;

import org.om.filter.MenusFilter;
import org.om.model.Menus;
import org.redkale.service.Service;
import org.redkale.source.DataSource;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by SPG on 2016/7/5.
 */
public class MenusService implements Service{
    @Resource
    private DataSource source;

    public List<Menus> getUrl(){
        List<Menus> urls = new ArrayList<>();
        MenusFilter fll = new MenusFilter();
        urls = source.queryList(Menus.class, fll);
        return urls;
    };
}
